package com.college.mapper;

import com.college.entity.DepartmentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.college.entity.MajorInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 院系 Mapper 接口
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Mapper
public interface DepartmentInfoMapper extends BaseMapper<DepartmentInfo> {
    @Select("select * from department_info where department_number = #{department_number}")
    DepartmentInfo getDepartmentInfoByDepartmentNumber(String department_number);
}
